package com.xxyf.pojo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Date;

@Data
@AllArgsConstructor
@Accessors(chain = true)
@NoArgsConstructor
@ApiModel("用户信息表")
public class Userinfo implements Serializable {


  @ApiModelProperty("id")
  private Long id;
  @ApiModelProperty("联表id")
  private Long userid;
  @ApiModelProperty("用户头像地址")
  private String head;
  @ApiModelProperty("年龄")
  private Long age;
  @ApiModelProperty("性别")
  private String sex;
  @ApiModelProperty("身份证号")
  private String card;
  @ApiModelProperty("电话号")
  private String tel;
  @ApiModelProperty("邮箱")
  private String email;
  @ApiModelProperty("地址")
  private String addr;
  @ApiModelProperty("乐观锁")
  private Integer version;
  @ApiModelProperty("创建时间")
  private Date gtmCreate;
  @ApiModelProperty("更新时间")
  private Date gtmModifide;
  @ApiModelProperty("逻辑删除")
  private Integer deleted;
  @ApiModelProperty("关联主表")
  private Username username;




}
